Method Filter<T>(IQueryable<T>, string, object)
Filter IQueryable by property name dynamically.
Uses expression trees instead of EF.Property.
public static IQueryable<T> Filter<T>(this IQueryable<T> query, string propertyName, object propertyValue)
Filter IQueryable by property name dynamically.
Uses expression trees instead of EF.Property.
public static IQueryable<T> Filter<T>(this IQueryable<T> query, string propertyName, object propertyValue)